package com.ruoyi.hr.mapper.changemanage.depchange;

import com.ruoyi.hr.domain.Authority;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DepChangeMapper {
    List<Map<String, Object>> findDepChangeData(@Param("map") Map map, @Param("authority") Authority authority);
    List<Map<String,Object>> addDepChangeEmp(@Param("map") Map map, @Param("authority") Authority authority);
    List<Map<String,Object>> historyList(@Param("map") Map map, @Param("authority") Authority authority);
    List<Map<String, Object>> findEmpDataAll();
    String expirationDate(String time);

    Map<String,Object> getDepChangeEmpById(String id);
    int updateDepChange(Map map);
    String executeProcedure(@Param("sql")String sql);
    String getNameById(String id);
    List<List<Map<String,Object>>> ExProcedure(@Param("sql") String sql);

    int removeDepChange(String id);
}
